<template>
  <div class="mini-table">
    <div class="hot-header">
      <!-- 左边 -->
      <slot name="left">
        <a href="javascript:;" class="hot-a">热门推荐</a>
      </slot>

      <!-- 右边 -->
      <slot name="right">
        <div class="main-more">
          <a href="" class="more">更多</a>
          <span class="hot-right"></span>
        </div>
      </slot>
    </div>
    <div class="hot-body">
      <slot name="body"></slot>
    </div>
  </div>
</template>

<script>
export default {}
</script>

<style lang="scss" scoped>
.mini-table {
  background: #fff;
  width: 100%;
  a {
    color: black;
    text-decoration: none;
  }

  .hot-header {
    height: 33px;
    padding: 0 10px 0 0px;

    border-bottom: 1px solid #ccc;
    display: flex;
    justify-content: space-between;
    align-items: center;
    .hot-a {
      font-size: 12px;
      color: black;
      font-weight: normal;
      margin-bottom: -1px;
    }
  }
  .hot-right {
    display: inline-block;
    width: 12px;
    height: 12px;
    background-position: 0 -240px;
  }
  .more {
    color: #666;
  }
}
</style>
